package com.homedo.odin.solution.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.homedo.odin.solution.model.entity.HotKeyword;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p> Mapper接口 </p>
 *
 * @author ZhangLei
 * @date 2018-05-15
 * @Description:
 */
public interface HotKeywordMapper extends BaseMapper<HotKeyword> {

    List<HotKeyword> queryHotKeywords(@Param("hotKeyword") HotKeyword hotKeyword);

    HotKeyword queryLateHotKeyword();

    void updateHotkeywordStatus(Integer dbValue);

    HotKeyword queryHotKeyword(@Param("hotKeyword") HotKeyword queryHotKeyword);

    List<HotKeyword> selectAll(@Param("top") Integer top);
}